import request from '@/utils/request'

export function listChart() {
  return request({
    url: '/chart/chart/list',
    method: 'get',
  })
}

export function customerCount() {
  return request({
    url: '/chart/chart/customercount',
    method: 'get',
  })
}

export function salespersonCount() {
  return request({
    url: '/chart/chart/salespersoncount',
    method: 'get',
  })
}

export function vehicleSaledCount() {
  return request({
    url: '/chart/chart/vehiclesaledcount',
    method: 'get',
  })
}

export function partSaledCount() {
  return request({
    url: '/chart/chart/partsaledcount',
    method: 'get',
  })
}

export function brandSaleCount() {
  return request({
    url: '/chart/chart/brandsalecount',
    method: 'get',
  })
}

export function colorSaleCount() {
  return request({
    url: '/chart/chart/colorsalecount',
    method: 'get',
  })
}

export function partSaleCount() {
  return request({
    url: '/chart/chart/partsalecount',
    method: 'get',
  })
}

export function salepersonachivement(){
  return request({
    url:'/chart/chart/salepersonachivement',
    method:'get',
  })
}

export function showvehicleprofit() {
  return request({
    url: '/chart/chart/showvehicleprofit',
    method: 'get',
  })
}
export function showpartprofit() {
  return request({
    url: '/chart/chart/showpartprofit',
    method: 'get',
  })
}
